home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
6_7.lha
/
6_7
/
6_7a.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
435b
|
37 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
truct X {
int i;
X(int);
operator+(int);
;
truct Y {
int i;
Y(X);
operator+(X);
operator int();
;
X operator* (X, Y);
nt f(X);
X x = 1;
y = x;
nt i = 2;
ain()
i + 10;
y + 10;
y + 10 * y;
x + y + i;
x * x + i;
f(7);
f(y);
y + y;
106 + y;